#if defined(_MSC_VER)
#pragma once
#endif

#ifndef LM_MATERIAL_MATTE_H
#define LM_MATERIAL_MATTE_H

#include "../core/material.h"

class Matte : public Material {
public:
	Matte(Reference<Texture<Spectrum>> kd, Reference<Texture<float>> sig, Reference<Texture<float>> bump) {
		Kd = kd;
		sigma =sig;
		bumpMap = bump;
	}
	BSDF *GetBSDF(const Intersection &isect) const;
	~Matte() {
		Kd = NULL;
		sigma = NULL;
		bumpMap = NULL;
	}
private:
	Reference<Texture<Spectrum>> Kd;
	Reference<Texture<float>> sigma, bumpMap;
};

#endif	// LM_MATERIAL_MATTE_H